org.eclipse.vtp.desktop.editors.core.elements
Class OptionSetInformationProvider

java.lang.Object
  extended by org.eclipse.vtp.desktop.editors.core.elements.PrimitiveInformationProvider
      extended by org.eclipse.vtp.desktop.editors.core.elements.OptionSetInformationProvider

public class OptionSetInformationProvider
extends PrimitiveInformationProvider


Constructor Summary
OptionSetInformationProvider(PrimitiveElement element)
           
 
Method Summary
 boolean acceptConnector(Element origin)
           
 MenuChoice addChoice(java.lang.String brand, MenuChoice choice)
           
 java.util.List getChoices()
           
 java.util.List getChoicesByBrand(java.lang.String brand)
           
 ConnectorRecord getConnectorRecord(java.lang.String recordName)
           
 java.util.List getConnectorRecords()
           
 java.util.List getConnectorRecords(int type)
           
 java.util.List getOutgoingVariables(java.lang.String exitPoint, java.util.Map visited)
           
 java.util.List getPropertiesPanels()
           
 boolean hasConnectors()
           
 void moveChoiceDown(java.lang.String brand, MenuChoice choice)
           
 void moveChoiceUp(java.lang.String brand, MenuChoice choice)
           
 void readConfiguration(org.w3c.dom.Element configuration)
           
 void removeChoice(java.lang.String brand, MenuChoice choice)
           
 void updateChoice(MenuChoice choice, java.lang.String oldName)
           
 void writeConfiguration(org.w3c.dom.Element configuration)
           
 
Methods inherited from class org.eclipse.vtp.desktop.editors.core.elements.PrimitiveInformationProvider
canDelete, getActions, getElement, hasPathToStart, resolve
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionSetInformationProvider

public OptionSetInformationProvider(PrimitiveElement element)
Method Detail

acceptConnector

public boolean acceptConnector(Element origin)
Specified by:
acceptConnector in class PrimitiveInformationProvider

getConnectorRecord

public ConnectorRecord getConnectorRecord(java.lang.String recordName)
Specified by:
getConnectorRecord in class PrimitiveInformationProvider

getConnectorRecords

public java.util.List getConnectorRecords()
Specified by:
getConnectorRecords in class PrimitiveInformationProvider

getConnectorRecords

public java.util.List getConnectorRecords(int type)
Specified by:
getConnectorRecords in class PrimitiveInformationProvider

readConfiguration

public void readConfiguration(org.w3c.dom.Element configuration)
Specified by:
readConfiguration in class PrimitiveInformationProvider

writeConfiguration

public void writeConfiguration(org.w3c.dom.Element configuration)
Specified by:
writeConfiguration in class PrimitiveInformationProvider

getPropertiesPanels

public java.util.List getPropertiesPanels()
Specified by:
getPropertiesPanels in class PrimitiveInformationProvider

addChoice

public MenuChoice addChoice(java.lang.String brand,
                            MenuChoice choice)

moveChoiceUp

public void moveChoiceUp(java.lang.String brand,
                         MenuChoice choice)

moveChoiceDown

public void moveChoiceDown(java.lang.String brand,
                           MenuChoice choice)

removeChoice

public void removeChoice(java.lang.String brand,
                         MenuChoice choice)

updateChoice

public void updateChoice(MenuChoice choice,
                         java.lang.String oldName)

getChoices

public java.util.List getChoices()

getChoicesByBrand

public java.util.List getChoicesByBrand(java.lang.String brand)

getOutgoingVariables

public java.util.List getOutgoingVariables(java.lang.String exitPoint,
                                           java.util.Map visited)
Overrides:
getOutgoingVariables in class PrimitiveInformationProvider

hasConnectors

public boolean hasConnectors()
Specified by:
hasConnectors in class PrimitiveInformationProvider